<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			#m{
				display: inline-flex;
				background-color: gray;
				border: 2px solid red;
			}
			#m div{
				height: 50px;
				width: 50px;
				background-color: blue;
				color: white;
				margin: 4px;
			}
		</style>
	</head>
	<body>
		<div id="m">
			<div>1</div>
			<div>2</div>
			<div>3</div>
			<div>5</div>
		</div>
	</body>
</html>